<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1" />
	<title>QPlayer</title>
	<link rel="stylesheet" href="/dev/views/cxy/css/playerto.css">
</head>
<body>
<div id="QPlayer">
<div id="pContent">

	<div id="player">
		<span class="cover"></span>
		<div class="ctrl">
			<div class="musicTag marquee">
				<strong>Title</strong>
				 <span> - </span>
				<span class="artist">Artist</span>
			</div>
			<div class="progress">
				<div class="timer left">0:00</div>
				<div class="contr">
					<div class="rewind icon"></div>
					<div class="playback icon"></div>
					<div class="fastforward icon"></div>
				</div>
				<div class="right">
					<div class="liebiao icon"></div>
				</div>
			</div>
		</div>
	</div>
	<div class="ssBtn" style="background:#000 none repeat scroll 0% 0%">
	        <div class="adf"></div>
    </div>
</div>
<ol id="playlist"></ol>
</div>

<script src="../js/jquery.min.js"></script>
<script src="../js/xiaobofang/jquery.marquee.min.js"></script>

<script>

// 	var	playlist = [
// // {title:name,artist:"gname",mp3:"/dev/views/cxy/music/"+name+".mp3",cover:"/dev/views/cxy/music/img/" + img,},
// {title:"Uptown Funk",artist:"Mark Ronson",mp3:"jq22-1.mp3",cover:"t2.png",},
// ];
var time=localStorage.getItem('time');
// if (time!=null)
// {

// }
// if (time!=0)
// {
// 	var isRotate = true;
// 	var autoplay = true;
// 	console.log("000")
// }

var timet=Math.round(time)
console.log(timet)
if (timet!=0)
{
	var isRotate = true;
	var autoplay = false;

}else {
	var isRotate = true;
	var autoplay = false;
}


</script>
<script src="/dev/views/cxy/js/xiaobofang/player.js"></script>
<!--<script src="/dev/views/cxy/js/xiaobofang/player1.js"></script>-->
<script>

function bgChange(){
	var lis= $('.lib');
	for(var i=0; i<lis.length; i+=2)
	lis[i].style.background = 'rgba(246, 246, 246, 0.7)';
}
window.onload = bgChange;
</script>

</body>
</html>
